#include "Header.hpp"
#include "CParticle.hpp"

CParticle::CParticle()
{
	mX=mY=mZ=mR=0; 
	mSect=false;
	mSectR=-1;	
	mNext=NULL;
}

CParticle::CParticle(double X, double Y, double Z, double R)
{
	mX=X;
	mY=Y;
	mZ=Z;
	mR=R;
	mSect=false;
	mSectR=-1;	
	mNext=NULL;
}

CParticle::~CParticle()
{
}

void CParticle::SetSectR(double R)
{
	mSectR=R;
}

void CParticle::SetSect(bool flag)
{
	mSect=flag;
}


double CParticle::GetX()
{
	return mX;
}

double CParticle::GetY()
{
	return mY;
}

double CParticle::GetZ()
{
	return mZ;
}

double CParticle::GetR()
{
	return mR;
}

double CParticle::GetSectR()
{
	return mSectR;
}

bool CParticle::GetSect()
{
	return mSect;
}
		
CParticle* CParticle::GetNext()
{
	return mNext;
}

void CParticle::SetNext(CParticle* next)
{
	mNext=next;
}

